package com.example.cdctest.service.impl;

import com.example.cdctest.mapper.TestPaperMapper;
import com.example.cdctest.pojo.TestPaper;
import com.example.cdctest.service.TestPaperService;
import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;

@Service
@Transactional(rollbackFor = Exception.class)
public class TestPaperImpl implements TestPaperService {
    @Resource
    private TestPaperMapper testPaperMapper;

    @Override
    public void insert(TestPaper object) {

    }

    @Override
    public void delete(Integer id) {

    }

    @Override
    public void delete(String ids) {

    }

    @Override
    public void update(TestPaper object) {

    }

    @Override
    public TestPaper findById(Integer id) {
        return null;
    }

    @Override
    public List<TestPaper> findAll() {
        return null;
    }

    @Override
    public PageInfo<TestPaper> findPage(int pageSize) {
        return null;
    }

    @Override
    public List<TestPaper> selectAllByEmail(String email) {
        return testPaperMapper.selectAllByEmail(email);
    }
}
